home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Found / FWStream / Include / SLRanSin.idl < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.4 KB  |  72 lines  |  [TEXT/MPS ]

  1. //
  2. //    File:        SLRanSin.idl
  3. //
  4. //    Contains:    Interface for abstract random access sink class
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8.  
  9. #ifndef SLRANSIN_IDL
  10. #define SLRANSIN_IDL
  11.  
  12. #ifndef SLASINKS_IDL
  13. #include "SLASinks.idl"
  14. #endif
  15.  
  16. //==============================================================================
  17. // Classes defined in this interface
  18. //==============================================================================
  19.  
  20. interface   FW_ORandomAccessSink;
  21.  
  22.  
  23. //==============================================================================
  24. // Classes used by this interface
  25. //==============================================================================
  26.  
  27. interface FW_OSink;
  28.  
  29.  
  30. //========================================================================================
  31. // FW_ORandomAccessSink
  32. //========================================================================================
  33.  
  34. interface FW_ORandomAccessSink : FW_OSink
  35. {
  36.     long GetLength();
  37.     void SetLength(in long length);
  38.     long GetPosition();
  39.     void SetPosition(in long position);
  40.  
  41. #ifdef __SOMIDL__
  42.     implementation
  43.     {
  44.         functionprefix = "FW_ORandomAccessSink__";
  45.  
  46.         override:
  47.             GetReadableBytes;
  48.  
  49.         releaseorder:
  50.             GetLength,
  51.             SetLength,
  52.             GetPosition,
  53.             SetPosition;
  54.  
  55.         majorversion = 1;
  56.         minorversion = 0;
  57.  
  58.         passthru C_xh =
  59.             "";
  60.  
  61.         passthru C_xih =
  62.             "";
  63.  
  64. #ifdef __PRIVATE__    
  65. #endif
  66.     };
  67. #endif
  68. };
  69.  
  70.  
  71. #endif
  72.